home *** CD-ROM | disk | FTP | other *** search
/ Aminet 31 / Aminet 31 (1999)(Schatztruhe)[!][Jun 1999].iso / Aminet / docs / mags / astorm7.lha / amigastorm_7 / source / primjer9.c < prev   
C/C++ Source or Header  |  1999-02-19  |  169b  |  15 lines

  1. #include <stdio.h>
  2. main()
  3. {
  4.   int a;
  5.   int b;
  6.   int max;
  7.   printf("Unesi 2 broja:");
  8.   scanf ("%d %d",&a,&b);
  9.  
  10.   max=a<b ? b : a;
  11.  
  12.   printf("Veæi je broj %d\n",max);
  13.  
  14. }
  15.